{"project":"countdown_cd","branch":"main","commit":"aedc11f2f1f6b68fa285e63cdf394be2e3a2a57c","component":{"apis":{"Weather API":{"url":{"type":"value","value":"https://toddle.dev"},"name":"Weather API","path":{"_9nZdYa9emLIl4AnBftYJ":{"index":0,"formula":{"type":"value","value":"_api"}},"oif5jxb8NfZ341UHOac1Q":{"index":1,"formula":{"type":"value","value":"weather"}}},"type":"http","client":{},"inputs":{},"method":"GET","server":{"ssr":{"enabled":{"formula":{"type":"value","value":false}}},"proxy":{"enabled":{"formula":{"type":"value","value":false}}}},"headers":{},"isError":{},"timeout":{},"version":2,"autoFetch":{"type":"value","value":true},"queryParams":{},"redirectRules":{},"dependsOn":[]}},"name":"HomePage","nodes":{"root":{"tag":"div","type":"element","children":["qUZX5B_obx9JdrREoZr8I"],"classes":{"bTqdax":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-4qyT4kDwjO9hKEcL8NGa":{"tag":"td","type":"element","children":["eHPw8hL9xMU_xa56tZBid"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-cb-AUCrkaBBgXAJpTB53":{"type":"text","value":{"type":"value","value":"The string of text that you want to use once the countdown reaches 0."},"events":null},"-efmKFE39apme4A6woyIJ":{"tag":"h2","type":"element","children":["oPGblKwEL4FCOXRH8D3Ys"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-x07rjBKZ1W2ltyECK_lp":{"tag":"table","type":"element","children":["7ML076f-wVOxqllR2eSK6"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"00i4kWvmkCqUjOBpvfKCS":{"tag":"td","type":"element","children":["j1rmYBKEB5JiFYYH1IZSc"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"1-oGDsIE5RdpQcwtH1CK-":{"type":"text","value":{"type":"value","value":"Boolean value: if set to true hides the 'seconds' value. Default: false"},"events":null},"10uyyNeAoBYw4_l8gcYGE":{"type":"text","value":{"type":"value","value":"Boolean value: if set to true hides the 'minutes' value and 'text-minutes' value. Default: false"},"events":null},"1cQOH_Ft4Bfln5wB4jKo6":{"tag":"img","type":"element","attrs":{"alt":{"type":"value","value":""},"src":{"type":"value","value":"/cdn-cgi/imagedelivery/ZIty0Vhmkm0nD-fBKJrTZQ/cd:rickroll.png/540"}},"classes":{"bVxhsL":{"formula":{"type":"value","value":true}}},"customProperties":{}},"1dBd6haoZHlPrMLUF07Lx":{"tag":"td","type":"element","children":["80ncFLodwiGlZArEPbMfI"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"27Le4-u5qGiXLIs2fU86r":{"type":"text","value":{"type":"value","value":"text-seconds"},"events":null},"2IQpny-nF4GKb5QxrEF9i":{"tag":"div","type":"element","children":["zLPUXTO4t1V8nXLsoLC5D","wEPHtPu-10kQb4Y3JiXTK","E2IOQXawGZPdxvbCxUXPd","-x07rjBKZ1W2ltyECK_lp"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2RXrZ-mM4UH1gxS4T0ZAL":{"tag":"td","type":"element","children":["10uyyNeAoBYw4_l8gcYGE"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2x2URyCKk3z4UOQltAjF1":{"tag":"h3","type":"element","children":["bOFjWvUzS99RqjtqEf5Oo"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"3QlcorY4gJxWiAIZoWEo1":{"tag":"td","type":"element","children":["gRqQM8Ii2L_oNCUbMTQ-i"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"4DEag03S-FF_IZaCeiOUH":{"tag":"td","type":"element","children":["72pp81hN-xrTXVZFLGIxy"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"4g2hW3_kEgylqJa6IAVqr":{"tag":"tr","type":"element","children":["G6_Vw_BgfiW9HK-KIZpkX"],"classes":{"dxjzRu":{"formula":{"type":"value","value":true}}},"customProperties":{}},"5wOgfnuC6XPM8skeu1toZ":{"tag":"td","type":"element","children":["zJCTfDn9EGZOdGzZ2V_nt"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"5z0fCCrgUt1neTvBALOe5":{"tag":"td","type":"element","children":["lWv7XHKP6_J1aiqvkSXRW"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"616n7TVOO6f-PV1o3Ttcf":{"tag":"section","type":"element","children":["rPritJtWLr5om5Mf7ZQl4","dPIDQY2NRCodcOF5VifV1"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"72pp81hN-xrTXVZFLGIxy":{"type":"text","value":{"type":"value","value":"hide-days"},"events":null},"7ML076f-wVOxqllR2eSK6":{"tag":"tr","type":"element","children":["rBCCdwSNJl2o-iirnqhcP","uyw4FOj-fPdcWMiHOJjO4"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"80ncFLodwiGlZArEPbMfI":{"type":"text","value":{"type":"value","value":"text-hours"},"events":null},"8JMmh1JG6yvg9WglgEwJc":{"tag":"div","type":"element","children":["gKOdXbW-on_939JSdA1t-"],"classes":{"CsusC":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8haKlf6N1JtMBa_gAOhgJ":{"type":"text","value":{"type":"value","value":"text-minutes"},"events":null},"8zACsVjIm5IvEtDi4DUpt":{"type":"text","value":{"type":"value","value":"String of text that you want to use prior to the countdown values."},"events":null},"Apb90r8AQJZbU12yYG8ZV":{"tag":"td","type":"element","children":["X_uADLZtXDLMMaebCw0bc"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"BLbFgl58uczFp0g9xoW2Q":{"type":"text","value":{"type":"value","value":"String of text that you want to use after the 'minutes' value. Default: ':'"},"events":null},"C2ztPypJigHNYahz23c_U":{"type":"text","value":{"type":"value","value":"Attributes"},"events":null},"CIdCPJOqWYojuC9bKrPuQ":{"type":"text","value":{"type":"value","value":"text-pre-countdown"},"events":null},"D2aIDiP5YhC6DjhjrFLXh":{"type":"text","value":{"type":"value","value":"Countdown"},"events":null},"DDwXVS3DVDwWOOtdR-znR":{"tag":"td","type":"element","children":["LwqnatvY69eX-7uLw3UXJ"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"E26Ef_O7Cbwm0xjH3L5-E":{"tag":"td","type":"element","children":["BLbFgl58uczFp0g9xoW2Q"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"E2IOQXawGZPdxvbCxUXPd":{"tag":"h4","type":"element","children":["p0ptq-TP2dOGYm0gZOPGm"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"FAp22w-d5D1ecSu9BfNga":{"tag":"div","type":"element","children":["S_yWQPcxPyem3n33Vxskd"],"classes":{"cZuVII":{"formula":{"type":"value","value":true}}},"customProperties":{}},"G33hvaKnRzM6KqdosUEU5":{"type":"text","value":{"type":"value","value":"String of text that you want to use after the 'days' value. Default: ':'"},"events":null},"G6_Vw_BgfiW9HK-KIZpkX":{"tag":"td","type":"element","children":["XFEaopnuf4WuPMEAiyfIt"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"G_FSaH_m-V9KHIDctJEiW":{"tag":"tr","type":"element","children":["Apb90r8AQJZbU12yYG8ZV","ygc7GlCX0uK1S8WhInRUN"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"GaZUbv12M-B6FAlQK6Skl":{"tag":"table","type":"element","children":["4g2hW3_kEgylqJa6IAVqr"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"GhaAl4zUgNGyD7u5H_R7E":{"tag":"tr","type":"element","children":["w5Mzs3QIccvi_5rOqP7Ma","mlMcr6doVQDanueMuT0iq"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"H4L4-qYWVCIAN9Ehzwldr":{"tag":"h2","type":"element","children":["sw0h1xF3ZqfcsW-IqEId8"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"HSCY27WewENPqLTVCeVJj":{"name":"countdown","type":"component","attrs":{"hide-days":{"type":"value","value":true},"text-days":{"label":null},"hide-hours":{"type":"value","value":true},"start-time":{"name":"@toddle/add","type":"function","label":null,"arguments":[{"name":"0","type":{"type":"Number"},"formula":{"name":"@toddle/timestamp","type":"function","label":null,"arguments":[{"name":"Date","type":{"type":"Date"},"formula":{"name":"@toddle/now","type":"function","label":null,"arguments":[],"display_name":"Now"}}],"display_name":"Timestamp"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":20000}}],"display_name":"Add","variableArguments":true},"instance-id":{"type":"value","value":"whattext"},"hide-minutes":{"type":"value","value":""},"text-at-zero":{"type":"value","value":"Just plain old text. Disappointing... "},"text-pre-countdown":{"type":"value","value":"I wonder what the text will be once this countdown ends "}},"customProperties":{}},"KI6TI3b0oKLI7CsRFZV3T":{"tag":"section","type":"element","children":["-efmKFE39apme4A6woyIJ","to-ItBLTn4_hwe7iWGsEc"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"LNlzJTe7Hy4NVxuykpikY":{"tag":"div","type":"element","children":["Ree_UanFDR_1bkr6wOQxM"],"classes":{"fxwxGW":{"formula":{"type":"value","value":true}}},"customProperties":{}},"LQew5Sv4lyPxZb2vRxmlI":{"type":"text","value":{"type":"value","value":"Is called when countdown has ended."},"events":null},"LwqnatvY69eX-7uLw3UXJ":{"type":"text","value":{"type":"value","value":"Boolean value: if set to true hides the 'days' value and 'text-days' value. Default: false"},"events":null},"M9iZPi-TlGJztgAWPh-GC":{"tag":"td","type":"element","children":["WoYhHdE3-I2Bv9V-yy1ls"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"MwlqvMa0JIHuXNhvjrj__":{"tag":"tr","type":"element","children":["M9iZPi-TlGJztgAWPh-GC","5wOgfnuC6XPM8skeu1toZ"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"O6B0cB_yfCAfrpmBciWad":{"type":"text","value":{"type":"value","value":"text-at-zero"},"events":null},"OKKMNO7dHkd-c1kQgh92k":{"tag":"tr","type":"element","children":["qbl7uv5otP9trDeIh6eH0","2RXrZ-mM4UH1gxS4T0ZAL"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Ocz0955gPBhgnA5gXkqXn":{"tag":"h2","type":"element","children":["D2aIDiP5YhC6DjhjrFLXh"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Q1IrKlNMat87PX9cMq_8F":{"tag":"div","type":"element","children":["HSCY27WewENPqLTVCeVJj"],"classes":{"fxwxGW":{"formula":{"type":"value","value":true}}},"customProperties":{}},"QozClqn4vLraoakHnLOeK":{"tag":"section","type":"element","children":["H4L4-qYWVCIAN9Ehzwldr","RpMEP3bYGiAf_VRNmjWiP"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"QsggGXCS67hlRA1u0HCEI":{"tag":"td","type":"element","children":["fX4BGlufgr_uJTpkkJkNf"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"RDKigLrFS0mxi5WBMahrZ":{"tag":"tr","type":"element","children":["aHw67JWQaWH9N5-H_JO31","00i4kWvmkCqUjOBpvfKCS"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Ree_UanFDR_1bkr6wOQxM":{"name":"countdown","type":"component","attrs":{"hide-days":{"type":"value","value":""},"text-days":{"type":"value","value":" days "},"hide-hours":{"type":"value","value":""},"start-time":{"name":"@toddle/add","type":"function","label":null,"arguments":[{"name":"0","type":{"type":"Number"},"formula":{"name":"@toddle/timestamp","type":"function","label":null,"arguments":[{"name":"Date","type":{"type":"Date"},"formula":{"name":"@toddle/now","type":"function","arguments":[],"display_name":"Now"}}],"display_name":"Timestamp"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":800000000}}],"display_name":"Add","variableArguments":true},"instance-id":{"type":"value","value":"dayshours"},"hide-minutes":{"type":"value","value":""},"text-pre-countdown":{"type":"value","value":"We can include hours and days as well: "}},"customProperties":{}},"RpMEP3bYGiAf_VRNmjWiP":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["d5R32V345MlGqEinOVxYQ"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"SXY1BMvupH8kMdj4Ah3wy":{"tag":"tr","type":"element","children":["1dBd6haoZHlPrMLUF07Lx","5z0fCCrgUt1neTvBALOe5"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"S_yWQPcxPyem3n33Vxskd":{"name":"countdown","type":"component","attrs":{"hide-days":{"type":"value","value":true},"start-time":{"name":"@toddle/add","type":"function","label":null,"arguments":[{"name":"0","type":{"type":"Number"},"formula":{"name":"@toddle/timestamp","type":"function","label":null,"arguments":[{"name":"Date","type":{"type":"Date"},"formula":{"name":"@toddle/now","type":"function","label":null,"arguments":[],"display_name":"Now"}}],"display_name":"Timestamp"}},{"name":"1","type":{"type":"Number"},"formula":{"type":"value","value":10800000}}],"display_name":"Add","variableArguments":true},"text-hours":{"type":"value","value":" hours "},"instance-id":{"type":"value","value":"nevergonna"},"hide-seconds":{"type":"value","value":""},"text-at-zero":{"type":"value","value":"Goodness me! You actually sat through a 3h countdown?!"},"text-minutes":{"type":"value","value":" minutes and "},"text-seconds":{"type":"value","value":" seconds this song will finally be out of your head, but even then I'm"},"text-pre-countdown":{"type":"value","value":"In "}},"customProperties":{}},"Vqxf_8CW-icGEeuw3haqS":{"type":"text","value":{"type":"value","value":"Demo"},"events":null},"WoYhHdE3-I2Bv9V-yy1ls":{"type":"text","value":{"type":"value","value":"hide-hours-at-zero"},"events":null},"XFEaopnuf4WuPMEAiyfIt":{"type":"text","value":{"type":"value","value":"The countdown has no styling of its own and has everything set to “inherit”, so you can style it through its container element."},"events":null},"X_uADLZtXDLMMaebCw0bc":{"type":"text","value":{"type":"value","value":"hide-seconds"},"events":null},"YgHqNFnD4UiaMak2vW80i":{"tag":"td","type":"element","children":["8zACsVjIm5IvEtDi4DUpt"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Yh3AI9d9k9e1rA4RPw0m-":{"tag":"tr","type":"element","children":["-4qyT4kDwjO9hKEcL8NGa","QsggGXCS67hlRA1u0HCEI"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Z4KDlBw9nIjRm_75Il3w9":{"type":"text","value":{"type":"value","value":"hide-hours"},"events":null},"ZwkmQXui99P5ZddzEbIof":{"type":"text","value":{"type":"value","value":"Boolean value: if set to true hides the 'hours' value and 'text-hours' value. Default: false"},"events":null},"_sGnpE9dqAb_d5H9ayC_D":{"type":"text","value":{"type":"value","value":"isComplete"},"events":null},"aHw67JWQaWH9N5-H_JO31":{"tag":"td","type":"element","children":["27Le4-u5qGiXLIs2fU86r"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bOFjWvUzS99RqjtqEf5Oo":{"type":"text","value":{"type":"value","value":"Countdown"},"events":null},"bdVX813ourWGALtmvHDX6":{"tag":"p","type":"element","children":["uhkdG54Xmn8ReHAiHtXza"],"classes":{"sahaH":{"formula":{"type":"value","value":true}}},"customProperties":{}},"d5R32V345MlGqEinOVxYQ":{"tag":"li","type":"element","children":["2x2URyCKk3z4UOQltAjF1","2IQpny-nF4GKb5QxrEF9i"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"dPIDQY2NRCodcOF5VifV1":{"tag":"div","type":"element","children":["qo1NQlCVxps2hZ6tLZKYS","LNlzJTe7Hy4NVxuykpikY","Q1IrKlNMat87PX9cMq_8F","pqAHkuLHD6EoCDZpLcJlM"],"classes":{"YTJFj":{"formula":{"type":"value","value":true}}},"customProperties":{}},"e14OlSIjyGQBN6GzghZUV":{"name":"countdown","type":"component","attrs":{"hide-days":{"type":"value","value":true},"text-days":{"label":null},"hide-hours":{"type":"value","value":""},"start-time":{"type":"switch","cases":[{"formula":{"name":"@toddle/number","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"Date","type":{"type":"Date"},"formula":{"path":["Apis","Weather API","data","current","sunrise"],"type":"path"}},{"name":"Date","type":{"type":"Date"},"formula":{"type":"value","value":"000"}}],"display_name":"Concatenate","variableArguments":true}}],"display_name":"Number"},"condition":{"name":"@toddle/greaterThan","type":"function","label":null,"arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/number","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"Date","type":{"type":"Date"},"formula":{"path":["Apis","Weather API","data","current","sunrise"],"type":"path"}},{"name":"Date","type":{"type":"Date"},"formula":{"type":"value","value":"000"}}],"display_name":"Concatenate","variableArguments":true}}],"display_name":"Number"}},{"name":"Second","type":{"type":"Number"},"formula":{"name":"@toddle/timestamp","type":"function","arguments":[{"name":"Date","type":{"type":"Date"},"formula":{"name":"@toddle/now","type":"function","arguments":[],"display_name":"Now"}}],"display_name":"Timestamp"}}],"display_name":"Greater than"}}],"label":null,"default":{"name":"@toddle/number","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"Date","type":{"type":"Date"},"formula":{"path":["Apis","Weather API","data","current","sunset"],"type":"path"}},{"name":"Date","type":{"type":"Date"},"formula":{"type":"value","value":"000"}}],"display_name":"Concatenate","variableArguments":true}}],"display_name":"Number"}},"text-hours":{"type":"value","value":"h"},"instance-id":{"type":"value","value":"sunset"},"hide-minutes":{"type":"value","value":""},"text-at-zero":{"type":"value","value":">> countdown ended <<"},"text-minutes":{"type":"value","value":"m"},"text-seconds":{"type":"value","value":"s"},"text-pre-countdown":{"type":"switch","cases":[{"formula":{"type":"value","value":"Get start time from an API: Next sunrise is in "},"condition":{"name":"@toddle/greaterThan","type":"function","label":null,"arguments":[{"name":"First","type":{"type":"Number"},"formula":{"name":"@toddle/number","type":"function","arguments":[{"name":"Input","type":{"type":"Any"},"formula":{"name":"@toddle/concatenate","type":"function","arguments":[{"name":"Date","type":{"type":"Date"},"formula":{"path":["Apis","Weather API","data","current","sunrise"],"type":"path"}},{"name":"Date","type":{"type":"Date"},"formula":{"type":"value","value":"000"}}],"display_name":"Concatenate","variableArguments":true}}],"display_name":"Number"}},{"name":"Second","type":{"type":"Number"},"formula":{"name":"@toddle/timestamp","type":"function","arguments":[{"name":"Date","type":{"type":"Date"},"formula":{"name":"@toddle/now","type":"function","arguments":[],"display_name":"Now"}}],"display_name":"Timestamp"}}],"display_name":"Greater than"}}],"default":{"type":"value","value":"Get start time from an API: Next sunset is in "}}},"customProperties":{}},"eHPw8hL9xMU_xa56tZBid":{"type":"text","value":{"type":"value","value":"hide-days-at-zero"},"events":null},"fX4BGlufgr_uJTpkkJkNf":{"type":"text","value":{"type":"value","value":"Boolean value: if set to true hides the 'days' value and 'text-days' value once the 'days' value is 0. Default: false"},"events":null},"gKOdXbW-on_939JSdA1t-":{"tag":"div","type":"element","children":["jD-wKYaGpnUIkDvD7xK3c","bdVX813ourWGALtmvHDX6"],"classes":{"eozNhk":{"formula":{"type":"value","value":true}}},"customProperties":{}},"gRqQM8Ii2L_oNCUbMTQ-i":{"type":"text","value":{"type":"value","value":"start-time"},"events":null},"hVG2Qu2I9ihxg1FaW89ym":{"tag":"section","type":"element","children":["Ocz0955gPBhgnA5gXkqXn","8JMmh1JG6yvg9WglgEwJc"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hZZxw22zk6KbAvpwD1YV_":{"tag":"tr","type":"element","children":["4DEag03S-FF_IZaCeiOUH","DDwXVS3DVDwWOOtdR-znR"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"i8cRlc_VIEkH3q4BsLehh":{"tag":"td","type":"element","children":["G33hvaKnRzM6KqdosUEU5"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"irYRAOFb_dNxQMPx1A7Hu":{"tag":"tr","type":"element","children":["kWcfkEzIfwRZVCquNRLxq","xMvQCxLb_BUC4sQUVZGtU"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"j1rmYBKEB5JiFYYH1IZSc":{"type":"text","value":{"type":"value","value":"String of text that you want to use after the 'seconds' value."},"events":null},"jD-wKYaGpnUIkDvD7xK3c":{"tag":"h3","type":"element","children":["lUPGFYkSWa1r-o8-U5uH1"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"jod0cN6jv444dmPAaDh86":{"tag":"tr","type":"element","children":["3QlcorY4gJxWiAIZoWEo1","t5JOEc1I3ysJEV87jpiKq"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"kWcfkEzIfwRZVCquNRLxq":{"tag":"td","type":"element","children":["O6B0cB_yfCAfrpmBciWad"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"kgTv0XewQ9i1H0LmgV8B8":{"tag":"tr","type":"element","children":["u1phG_gBVMROJwqG8RrSN","i8cRlc_VIEkH3q4BsLehh"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"lUPGFYkSWa1r-o8-U5uH1":{"type":"text","value":{"type":"value","value":"A simple countdown component"},"events":null},"lWv7XHKP6_J1aiqvkSXRW":{"type":"text","value":{"type":"value","value":"String of text that you want to use after the 'hours' value. Default: ':'"},"events":null},"mlMcr6doVQDanueMuT0iq":{"tag":"td","type":"element","children":["ZwkmQXui99P5ZddzEbIof"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"nOijoO7nH-CPdjfSJ3ptP":{"tag":"tr","type":"element","children":["qMPFBEuI9vzEyYbvMkKKD","YgHqNFnD4UiaMak2vW80i"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"oPGblKwEL4FCOXRH8D3Ys":{"type":"text","value":{"type":"value","value":"Style variables"},"events":null},"p0ptq-TP2dOGYm0gZOPGm":{"type":"text","value":{"type":"value","value":"Events"},"events":null},"pqAHkuLHD6EoCDZpLcJlM":{"tag":"div","type":"element","children":["e14OlSIjyGQBN6GzghZUV"],"classes":{"fxwxGW":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qMPFBEuI9vzEyYbvMkKKD":{"tag":"td","type":"element","children":["CIdCPJOqWYojuC9bKrPuQ"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qUZX5B_obx9JdrREoZr8I":{"tag":"main","type":"element","children":["hVG2Qu2I9ihxg1FaW89ym","616n7TVOO6f-PV1o3Ttcf","QozClqn4vLraoakHnLOeK","KI6TI3b0oKLI7CsRFZV3T"],"classes":{"drWRwT":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qbl7uv5otP9trDeIh6eH0":{"tag":"td","type":"element","children":["wELUL70h53zjRbA0FqiJC"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qo1NQlCVxps2hZ6tLZKYS":{"tag":"div","type":"element","children":["FAp22w-d5D1ecSu9BfNga","1cQOH_Ft4Bfln5wB4jKo6"],"classes":{"bRMFTL":{"formula":{"type":"value","value":true}}},"customProperties":{}},"r5_O4idbckSuxEZbmySkk":{"tag":"td","type":"element","children":["8haKlf6N1JtMBa_gAOhgJ"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"rBCCdwSNJl2o-iirnqhcP":{"tag":"td","type":"element","children":["_sGnpE9dqAb_d5H9ayC_D"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"rPritJtWLr5om5Mf7ZQl4":{"tag":"h2","type":"element","children":["Vqxf_8CW-icGEeuw3haqS"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"sw0h1xF3ZqfcsW-IqEId8":{"type":"text","value":{"type":"value","value":"Components"},"events":null},"t5JOEc1I3ysJEV87jpiKq":{"tag":"td","type":"element","children":["uTzHE6CIo6wHB2QzaUtIb"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"to-ItBLTn4_hwe7iWGsEc":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"div","type":"element","children":["GaZUbv12M-B6FAlQK6Skl"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"u1phG_gBVMROJwqG8RrSN":{"tag":"td","type":"element","children":["zQ_3fKBZFArVGuqzy9oVX"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"uTzHE6CIo6wHB2QzaUtIb":{"type":"text","value":{"type":"value","value":"The timestamp of the moment your countdown is counting down to. This has to be a 13-digit timestamp number. Example: 1890257160000"},"events":null},"uhkdG54Xmn8ReHAiHtXza":{"type":"text","value":{"type":"value","value":"A quick and easy way to integrate a countdown on your page. You can control whether to include any of the values (e.g. days, hours, etc) or not. And you have the possibility to adjust the text in between each value.\n"},"events":null},"uyw4FOj-fPdcWMiHOJjO4":{"tag":"td","type":"element","children":["LQew5Sv4lyPxZb2vRxmlI"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"w5Mzs3QIccvi_5rOqP7Ma":{"tag":"td","type":"element","children":["Z4KDlBw9nIjRm_75Il3w9"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"wELUL70h53zjRbA0FqiJC":{"type":"text","value":{"type":"value","value":"hide-minutes"},"events":null},"wEPHtPu-10kQb4Y3JiXTK":{"tag":"table","type":"element","children":["Yh3AI9d9k9e1rA4RPw0m-","hZZxw22zk6KbAvpwD1YV_","MwlqvMa0JIHuXNhvjrj__","GhaAl4zUgNGyD7u5H_R7E","OKKMNO7dHkd-c1kQgh92k","G_FSaH_m-V9KHIDctJEiW","jod0cN6jv444dmPAaDh86","irYRAOFb_dNxQMPx1A7Hu","kgTv0XewQ9i1H0LmgV8B8","SXY1BMvupH8kMdj4Ah3wy","zekZP59ugdGyCMy3iz_fU","nOijoO7nH-CPdjfSJ3ptP","RDKigLrFS0mxi5WBMahrZ","Mxp3WF0LETHqPTz_SyLj9"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"xMvQCxLb_BUC4sQUVZGtU":{"tag":"td","type":"element","children":["-cb-AUCrkaBBgXAJpTB53"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ygc7GlCX0uK1S8WhInRUN":{"tag":"td","type":"element","children":["1-oGDsIE5RdpQcwtH1CK-"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"zJCTfDn9EGZOdGzZ2V_nt":{"type":"text","value":{"type":"value","value":"Boolean value: if set to true hides the 'hour' value and 'text-hour' value once the 'hour' value is 0. Default: false"},"events":null},"zLPUXTO4t1V8nXLsoLC5D":{"tag":"h4","type":"element","children":["C2ztPypJigHNYahz23c_U"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"zQ_3fKBZFArVGuqzy9oVX":{"type":"text","value":{"type":"value","value":"text-days"},"events":null},"zekZP59ugdGyCMy3iz_fU":{"tag":"tr","type":"element","children":["r5_O4idbckSuxEZbmySkk","E26Ef_O7Cbwm0xjH3L5-E"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Mxp3WF0LETHqPTz_SyLj9":{"tag":"tr","type":"element","children":["gbkTv7bdMT8kEar0rQGPk","0OQ0tb3JgouBHqv2lnfYu"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-MlxaIJQjriUNrCNg6pN7":{"type":"text","value":{"type":"value","value":"instance-id"},"events":null},"gbkTv7bdMT8kEar0rQGPk":{"tag":"td","type":"element","children":["-MlxaIJQjriUNrCNg6pN7"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6izVp7a-cBKAMRVG6GTw9":{"type":"text","value":{"type":"value","value":"You can give your countdown component an id. Useful if you have more than one on a page."},"events":null},"0OQ0tb3JgouBHqv2lnfYu":{"tag":"td","type":"element","children":["6izVp7a-cBKAMRVG6GTw9"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"route":{"info":{"title":{"formula":{"type":"value","value":"Countdown for Toddle"}},"description":{"formula":{"type":"value","value":"A simple countdown component for your toddle project."}}},"path":[],"query":{}},"onLoad":{"actions":[],"trigger":"load"},"functions":{}},"components":[{"name":"countdown","nodes":{"root":{"tag":"countdown-countdown","type":"element","children":["e309Z1uhGXIdkkxvnI4p_"],"classes":{"ffptol":{"formula":{"type":"value","value":true}}},"customProperties":{}},"1GOXibZIvVidq2aVul-Iv":{"tag":"span","type":"element","children":["tlJKRC2HNDQKrQdRxkT54"],"classes":{"dJbDkB":{"formula":{"type":"value","value":true}}},"customProperties":{}},"e309Z1uhGXIdkkxvnI4p_":{"tag":"div","type":"element","children":["1GOXibZIvVidq2aVul-Iv"],"classes":{"dlqqHw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"tlJKRC2HNDQKrQdRxkT54":{"type":"text","value":{"name":"@toddle/defaultTo","type":"function","arguments":[{"name":"0","type":{"type":"Any"},"formula":{"path":["Variables","time-to-start-time","timeDisplay"],"type":"path"}},{"name":"1","type":{"type":"Any"},"formula":{"type":"value","value":""}}],"display_name":"Default to","variableArguments":true},"events":null}},"events":[{"name":"isComplete"}],"onLoad":{"actions":[{"type":"TriggerWorkflow","workflow":"2Sji6J"}],"trigger":"Load"},"exported":true,"variables":{"time-to-start-time":{"initialValue":{"type":"value","value":""}}},"workflows":{"2Sji6J":{"name":"StartTimeCheck","actions":[{"type":"Switch","cases":[{"actions":[{"name":"@toddle/sleep","events":{"tick":{"actions":[{"type":"TriggerWorkflow","workflow":"fO-b0x"}],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":1000}}]}],"condition":{"name":"@toddle/notEqual","type":"function","label":"start-time is set","arguments":[{"name":"First","type":{"type":"Any"},"formula":{"path":["Attributes","start-time"],"type":"path","label":null}},{"name":"Second","type":{"type":"Any"},"formula":{"type":"value","value":0}}],"display_name":"Not equal"}}],"default":{"actions":[{"name":"@toddle/sleep","events":{"tick":{"actions":[{"type":"TriggerWorkflow","workflow":"2Sji6J"}],"trigger":"tick"}},"arguments":[{"name":"Delay in milliseconds","formula":{"type":"value","value":10}}]}]}}],"exposeInContext":false,"parameters":[]},"fO-b0x":{"name":"Countdown","actions":[{"name":"timer_main","events":{"update":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"SetVariable","variable":"time-to-start-time"}],"trigger":"update","dummyEvent":"{   timeDisplay: \"01:30\", // Formatted time based on your options   rawMilliseconds: 90000, // Raw milliseconds remaining   isComplete: false // Whether the timer has completed }"},"complete":{"actions":[{"data":{"path":["Event"],"type":"path"},"type":"TriggerEvent","event":"isComplete"}],"trigger":"complete","dummyEvent":"{   timeDisplay: \"Countdown complete!\", // Or whatever you set as textAtZero   rawMilliseconds: 0, // Zero milliseconds remaining   isComplete: true // Timer has completed }"}},"version":2,"exported":true,"arguments":[{"name":"startTime","formula":{"path":["Attributes","start-time"],"type":"path"}},{"name":"hideDaysAtZero","formula":{"path":["Attributes","hide-days-at-zero"],"type":"path"}},{"name":"hideDays","formula":{"path":["Attributes","hide-days"],"type":"path"}},{"name":"hideHoursAtZero","formula":{"path":["Attributes","hide-hours-at-zero"],"type":"path"}},{"name":"hideHours","formula":{"path":["Attributes","hide-hours"],"type":"path"}},{"name":"hideMinutes","formula":{"path":["Attributes","hide-minutes"],"type":"path"}},{"name":"hideSeconds","formula":{"path":["Attributes","hide-seconds"],"type":"path"}},{"name":"textAtZero","formula":{"path":["Attributes","text-at-zero"],"type":"path"}},{"name":"textDays","formula":{"path":["Attributes","text-days"],"type":"path"}},{"name":"textHours","formula":{"path":["Attributes","text-hours"],"type":"path"}},{"name":"textMinutes","formula":{"path":["Attributes","text-minutes"],"type":"path"}},{"name":"textSeconds","formula":{"path":["Attributes","text-seconds"],"type":"path"}},{"name":"textPreCountdown","formula":{"path":["Attributes","text-pre-countdown"],"type":"path"}},{"name":"instanceId","formula":{"path":["Attributes","instance-id"],"type":"path"}}]}],"exposeInContext":false,"parameters":[]}},"attributes":{"hide-days":{"name":"hide-days"},"text-days":{"name":"text-days"},"hide-hours":{"name":"hide-hours"},"start-time":{"name":"start-time"},"text-hours":{"name":"text-hours"},"instance-id":{"name":"instance-id"},"hide-minutes":{"name":"hide-minutes"},"hide-seconds":{"name":"hide-seconds"},"text-at-zero":{"name":"text-at-zero"},"text-minutes":{"name":"text-minutes"},"text-seconds":{"name":"text-seconds"},"hide-days-at-zero":{"name":"hide-days-at-zero"},"hide-hours-at-zero":{"name":"hide-hours-at-zero"},"text-pre-countdown":{"name":"text-pre-countdown"}},"onAttributeChange":{"actions":[],"trigger":"Attribute change"}}]}